{#
    kurento/layout.html
    ~~~~~~~~~~~~~~~~~

    Sphinx layout template for the kurento theme, 
    derived from the agogo theme, by Andi Albrecht.

    :copyright: Copyright 2014 by the Kurento team.
    :license: ALv2, see LICENSE for details.
#}
{% extends "basic/layout.html" %}
{% block extrahead %}
<link href='//fonts.googleapis.com/css?family=Montserrat:700,400' rel='stylesheet' type='text/css' />
{% endblock %}
{% block header %}
    <div class="header-wrapper">
        {%- if logo %}
          <p class="logo"><a href="http://www.kurento.org">
            <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
          </a></p>
        {%- endif %}
      <div class="header">
        {%- block headertitle %}
        <div class="headertitle"><a
          href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a></div>
        {%- endblock %}
        <div class="rel">
          {%- for rellink in rellinks|reverse %}
          <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}"
             {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
          {%- if not loop.last %}{{ reldelim2 }}{% endif %}
          {%- endfor %}
        </div>
       </div>
    </div>
{% endblock %}

{% block content %}
    <div class="content-wrapper">
      <div class="content">
        <div class="document">
          {%- block document %}
            {{ super() }}
          {%- endblock %}
        </div>
        <div class="sidebar">
          {%- block sidebartoc %}
          <h3>{{ _('Table Of Contents') }}</h3>
          {{ toctree() }}
          {%- endblock %}
          {%- block sidebarsearch %}
          <h3>{{ _('Search') }}</h3>
          <form class="search" action="{{ pathto('search') }}" method="get">
            <input type="text" name="q" />
            <input type="submit" value="{{ _('Go') }}" />
            <input type="hidden" name="check_keywords" value="yes" />
            <input type="hidden" name="area" value="default" />
          </form>
          <p class="searchtip" style="font-size: 90%">
            {{ _('Enter search terms or a module, class or function name.') }}
          </p>
          {%- if show_source and has_source and sourcename %}
          <div role="note" aria-label="source link">
            <h3>{{ _('Kurento Docs') }}</h3>
            <ul class="this-page-menu">
              <li><a href="Kurento.epub">Download as epub ebook</a></li>
              <li><a href="Kurento.pdf">Download as PDF book</a></li>
            </ul>
            <h3>{{ _('This Page') }}</h3>
            <ul class="this-page-menu">
              <li><a href="http://www.kurento.org/community">Report a Bug</a></li>
              <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
            rel="nofollow">{{ _('Show Source') }}</a></li>
            </ul>
          </div>
          {%- endif %}
          {%- endblock %}

        </div>
        <div class="clearer"></div>
      </div>
    </div>
{% endblock %}

{% block footer %}
    <div class="footer-wrapper">
      <div class="footer">
        <div class="left">
          {%- for rellink in rellinks|reverse %}
          <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}"
             {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
          {%- if not loop.last %}{{ reldelim2 }}{% endif %}
          {%- endfor %}
        </div>

        <div class="right">
          {{ super() }}
          <div class="footer">This page uses <a href="http://analytics.google.com/">
          Google Analytics</a> to collect statistics. You can disable it by blocking
          the JavaScript coming from www.google-analytics.com.
          <script type="text/javascript">
          <!--//--><![CDATA[//><!--
          var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-26262162-4"]);_gaq.push(["_trackPageview"]);(function() {var ga = document.createElement("script");ga.type = "text/javascript";ga.async = true;ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(ga, s);})();
          //--><!]]>
          </script>
          </div>
        </div>
        <div class="clearer"></div>
      </div>
    </div>
{% endblock %}
{% block relbar1 %}{% endblock %}
{% block relbar2 %}{% endblock %}
